﻿

namespace AnimalApplication.Models
{

    public class Mammals
    {
        #region constructors

        public Mammals(bool changeWool)
        {
            mIsHaveWool = changeWool;
        }

        public Mammals(string tempr)
        {
            mTemperature = tempr;
        }

        public Mammals()
        {
            /// Инициализация свойств класса
            mIsFeedMilk = true;
            mIsHaveWool = true;
            mTemperature = "high";
        }
        #endregion

        #region Properties

 
        public bool IsFeedMilk
        {
            get
            {
                return mIsFeedMilk;
            }
            set
            {
                mIsFeedMilk = value;
            }
        }

        public bool HaveWool
        {
            get
            {
                return mIsHaveWool;
            }
            set
            {
                mIsHaveWool = value;
            }
        }

        public string Temperature
        {
            get
            {
                return mTemperature;
            }
            set
            {
                mTemperature = value;
            }
        }

        #endregion

        private bool mIsFeedMilk = default(bool);
        private bool mIsHaveWool = default(bool);
        private string mTemperature = "unknown"; //default(string);
    }
}